<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="21754" systemVersion="22F82" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
	<entity name="ManagedCache" representedClassName="ManagedCache" syncable="YES">
        <attribute name="timestamp" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
        <relationship name="feed" toMany="YES" deletionRule="Cascade" ordered="YES" destinationEntity="ManagedFeedImage" inverseName="cache" inverseEntity="ManagedFeedImage" syncable="YES"/>
    </entity>
    <entity name="ManagedFeedImage" representedClassName="ManagedFeedImage" syncable="YES">
        <attribute name="data" optional="YES" attributeType="Binary" allowsExternalBinaryDataStorage="YES" syncable="YES"/>
        <attribute name="id" attributeType="UUID" usesScalarValueType="NO" syncable="YES"/>
        <attribute name="imageDescription" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="location" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="url" attributeType="URI" syncable="YES"/>
        <relationship name="cache" maxCount="1" deletionRule="Nullify" destinationEntity="ManagedCache" inverseName="feed" inverseEntity="ManagedCache" syncable="YES"/>
    </entity>
    <elements>
        <element name="ManagedCache" positionX="-63" positionY="-18" width="128" height="75"/>
        <element name="ManagedFeedImage" positionX="-54" positionY="0" width="128" height="135"/>
    </elements>
</model> 